package com.hlkj.baojin.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.util.List;

/**
 * @author lzx
 * @Description:
 * @date 18-12-17 上午9:32
 */
@Getter
@Setter
public class RealDataVO implements Serializable {
    @ApiModelProperty("设备Id")
    private String deviceId;
    @ApiModelProperty("公司名称")
    private String companyName;
    @ApiModelProperty("厂区")
    private String companyArea;
    @ApiModelProperty("监控对象")
    private String monitorObject;
    @ApiModelProperty("存储物品")
    private String storeItems;
    @ApiModelProperty("监控类型 0.储量 1.温度 2.泄漏量")
    private Integer monitorType;
    @ApiModelProperty("实时数据")
    private Double real;
    @ApiModelProperty("实时数据单位")
    private String realUnit;
    @ApiModelProperty("实时数据状态 true 正常  false.报警")
    private Boolean realStatus;
    @ApiModelProperty("0 正常 1.设备异常")
    private Integer status;
    public RealDataVO() {
    }
    public RealDataVO(String deviceId,String companyName, String companyArea,String monitorObject, String storeItems, Integer monitorType, Double real, String realUnit, Integer status, Boolean realStatus) {
        this.companyName = companyName;
        this.deviceId=deviceId;
        this.companyArea = companyArea;
        this.monitorObject = monitorObject;
        this.realStatus = realStatus;
        this.storeItems = storeItems;
        this.monitorType = monitorType;
        this.real = real;
        this.realUnit = realUnit;
        this.status = status;
    }
}
